package com.blog.dao.adminbloggers;

import java.sql.PreparedStatement;
import java.sql.SQLException;

import com.blog.dao.conn.BaseDao;
import com.blog.dao.conn.ParamSet;
import com.blog.dao.conn.ParamSetimpl;

public class AdminBlogDao extends BaseDao{
	/**
	 * 根据博客编号删除博客
	 */
	public void deleteBlogById(int blogid) {
		String sql="update tb_article set article_status=2 where article_id=?";
		updateExecuted(sql,new ParamSet(blogid));
	}
}
